package farmacia.gui.cadastro.estoque;

import java.awt.BorderLayout;

import java.awt.EventQueue;


import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTabbedPane;
import javax.swing.JTable;
import javax.swing.JLabel;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JComboBox;

import org.jdesktop.swingx.JXDatePicker;
import javax.swing.border.EtchedBorder;


public class JfEntradaNF extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTable table;
	private JTextField textField_1;
	private JTextField textField_2;
	private org.jdesktop.swingx.JXDatePicker JXData;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					JfEntradaNF frame = new JfEntradaNF();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public JfEntradaNF() {
		setTitle("(Modulo)Entrada de Notas Fiscais e Atualização de Estoque");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 1280, 800);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		
		JPanel panel = new JPanel();
		contentPane.add(panel, BorderLayout.CENTER);
		panel.setLayout(null);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setBounds(12, 12, 1250, 384);
		panel.add(tabbedPane);
		
		JPanel panel_2 = new JPanel();
		panel_2.setBorder(new EtchedBorder(EtchedBorder.LOWERED, null, null));
		tabbedPane.addTab("Cadastro de Notas", null, panel_2, null);
		panel_2.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Cod. Produto");
		lblNewLabel.setBounds(12, 12, 100, 14);
		panel_2.add(lblNewLabel);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(130, 10, 100, 18);
		panel_2.add(comboBox);
		
		JLabel lblNewLabel_1 = new JLabel("Numero da NF.");
		lblNewLabel_1.setBounds(12, 50, 114, 14);
		panel_2.add(lblNewLabel_1);
		
		textField = new JTextField();
		textField.setBounds(123, 48, 114, 18);
		panel_2.add(textField);
		textField.setColumns(10);
		
		table = new JTable();
		table.setBounds(12, 342, 1221, -112);
		panel_2.add(table);
		
		JLabel lblQuantidadw = new JLabel("Quantidadw");
		lblQuantidadw.setBounds(12, 89, 114, 14);
		panel_2.add(lblQuantidadw);
		
		textField_1 = new JTextField();
		textField_1.setBounds(123, 87, 114, 18);
		panel_2.add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblNewLabel_2 = new JLabel("New label");
		lblNewLabel_2.setBounds(310, 12, 70, 14);
		panel_2.add(lblNewLabel_2);
		
		JLabel lblNewLabel_3 = new JLabel("New label");
		lblNewLabel_3.setBounds(310, 50, 70, 14);
		panel_2.add(lblNewLabel_3);
		
		JLabel lblNewLabel_4 = new JLabel("New label");
		lblNewLabel_4.setBounds(310, 89, 70, 14);
		panel_2.add(lblNewLabel_4);
		
		textField_2 = new JTextField();
		textField_2.setEditable(false);
		textField_2.setBounds(410, 48, 114, 18);
		panel_2.add(textField_2);
		textField_2.setColumns(10);
		
		JXData = new JXDatePicker();
		JXData.setBounds(23,162, 114, 20);
		JXData.setFormats(new String[]{"dd/MM/yyyy"});
		
		panel_2.add(JXData);
		
		JPanel panel_1 = new JPanel();
		tabbedPane.addTab("Situação da Nota Fiscal", null, panel_1, null);
	}
}
